$(document).ready(function(){
	$("#partName").html(window.localStorage.getItem("groupNames"));
    var $token = window.localStorage.getItem("token");
    var $mid= window.localStorage.getItem("mid");
    var $groupid= window.localStorage.getItem("groupId");
    var Post ="mid="+$mid+"&groupid="+$groupid+"&pagesize=10&token="+$token+"&did=66666";
	$.ajax({
		url:'../../api/group/gettopfiveinfolist',
		type:'post',
		data:Post,
		success:function(msg){
			if(msg.code ==100){
				var	$showTeamList=document.getElementById("showTeamList");
				var $showBusiOPPList=document.getElementById("showBusiOPPList");
				var $showEbusiList=document.getElementById("showEbusiList");
				console.log(msg);
				for(var i=0;i<msg.data[0].n1.length;i++){
					var $li = document.createElement("li");
					$li.innerHTML='<a href="">'+msg.data[0].n1[i].n2+'</a>';
					$showTeamList.appendChild($li);
				}
				for(var j=0;j<msg.data[1].n1.length;j++){
					var $li = document.createElement("li");
					$li.innerHTML='<a href="">'+
					'<img src="'+msg.data[1].n1[j].n1.split(",")[0]+'" title="小清新" alt="小清新"/>'+
					'</a>';
					$showBusiOPPList.appendChild($li);
				}
				for(var k=0;k<msg.data[2].n1.length;k++){
					var $li = document.createElement("li");
					$li.innerHTML='<a href="">'+
					'<img src="'+msg.data[2].n1[k].n1.split(",")[0]+'" title="小清新" alt="小清新"/>'+
					'</a>';
					$showEbusiList.appendChild($li);
				}
			};
		},
	});
});
	
